//导入vue和vuex
import Vue from 'vue'
import Vuex from 'vuex'

import cart from '@/store/cart.js'
import user from '@/store/user.js'

//使用vuex
Vue.use(Vuex)

const store = new Vuex.Store({
	modules:{
		cart,
		user
	}
})


export default store;